package com.fanpan26.springboot.annotation.qualifier;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.beans.factory.annotation.Qualifier;

/**
 * @author fanpan26
 */
public class TestBean {

    @Autowired
    @Qualifier("wsListener")
    private ServerAioListener listener;

    public void test(){
        this.listener.afterConnected();
    }
}
